Healthiness Conditions for Predicate Transformers

نویسنده

  • Klaus Keimel
چکیده

The behavior of a program can be modeled by describing how it transforms input states to output states, the state transformer semantics. Alternatively, for verification purposes one is interested in a ’predicate transformer semantics’ which, for every condition on the output, yields the weakest precondition on the input that guarantees the desired property for the output. In the presence of computational effects like nondeterministic or probabilistic choice, a computation will be modeled by a map t:X → T Y , where T is an appropriate computational monad. The corresponding predicate transformer assigns predicates on Y to predicates on X. One looks for necessary and, if possible, sufficient conditions (healthiness conditions) on predicate transformers that correspond to state transformers t:X → T Y . In this paper we propose a framework for establishing healthiness conditions for predicate transformers. As far as the author knows, it fits to almost all situations in which healthiness conditions for predicate transformers have been worked out. It may serve as a guideline for finding new results.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Programming Research Group Probabilistic Predicate Transformers: Part 2 Probabilistic Predicate Transformers: Part 2

Probabilistic predicate transformers guarantee standard (ordinary) predicate transformers to incorporate a notion of prob-abilistic choice in imperative programs. The basic theory of that, for nite state spaces, is set out in 5], together with a statements of their`healthiness conditions'. Here the earlier results are extended to innnite state spaces, and several more specialised topics are exp...

متن کامل

Probabilistic Imperative Programming: a Rigorous Approach

Recent work has extended Kozen's probabilistic semantics 8, 9] to include demonic nondeterminism both at the operational 5] and the logical level 12]. That makes it now possible in principle to treat probabilistic program development with the same standards of rigour that apply, when appropriate, to imperative programming 3]. In this report we treat several practical aspects of the new models, ...

متن کامل

Relational Model for Non-deterministic Programs and Predicate Transfop~iers*

A relational model for non-deterministic programs is presented. Several predicate transformers are introduced and it is shown that one of them satisfies all the healthiness criteria indicated by Dijkstra for a useful total correctness predicate transformer. An axiomatic relational definition of the language of guarded commands is proposed. From it the predicate transformers associated to each c...

متن کامل

UTP Designs for Binary Multirelations

The total correctness of sequential computations can be established through different isomorphic models, such as monotonic predicate transformers and binary multirelations, where both angelic and demonic nondeterminism are captured. Assertional models can also be used to characterise process algebras: in Hoare and He’s Unifying Theories of Programming, CSP processes can be specified as the rang...

متن کامل

JAN a Weakest Preconditions for Progress

Predicate transformers that map the postcondition and all intermediate conditions of a command to a precondition are introduced They can be used to specify certain progress properties of sequential programs

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Electr. Notes Theor. Comput. Sci.

دوره 319  شماره 

صفحات  -

تاریخ انتشار 2015